Using a rechargeable power source for tape cartridge handling

ABSTRACT

A charge level for a first rechargeable power source, a second rechargeable power source, and a third rechargeable power source is determined. The first rechargeable power source is determined to be below a threshold level of charge. In response to determining that the first rechargeable power source is below a threshold level of charge, a switch is made from the first rechargeable power source to the second rechargeable power source.

BACKGROUND

The present invention relates generally to the field of magnetic tape libraries, and more particularly to wirelessly handling tape cartridges in an automated tape library.

Magnetic tape data storage (e.g., an automated tape library) is a system for storing digital information on magnetic tape using digital recording. Modern magnetic tape is most commonly packaged in cartridges and cassettes. The tape drive is the device that performs writing or reading of data on the magnetic tape. Autoloaders automate cartridge handling and provide increased speed for accessing data. Several components in the cartridge handling system, including the x-y-z driver, x-slider, y-slider, and gripper, are connected via a flat, or ribbon, cable. A common cassette-based format is Linear Tape-Open (LTO). The LTO format is available in a variety of densities and is manufactured by several companies.

SUMMARY OF THE INVENTION

Embodiments of the present invention include a method, computer program product, and system for replacing a rechargeable power source in an automated tape library. In one embodiment, a charge level for a first rechargeable power source, a second rechargeable power source, and a third rechargeable power source is determined. The first rechargeable power source is determined to be below a threshold level of charge. In response to determining that the first rechargeable power source is below a threshold level of charge, a switch is made from the first rechargeable power source to the second rechargeable power source.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 depicts a schematic of an automated tape library, in accordance with an embodiment of the present invention;

FIG. 2 depicts a schematic of a power-control module within an automated tape library, in accordance with an embodiment of the present invention;

FIG. 3 depicts a flowchart of a program for replacing a low on power rechargeable power source, in accordance with an embodiment of the present invention;

FIG. 4 depicts a flowchart of a program for retrieving a tape cartridge, in accordance with an embodiment of the present invention; and

FIG. 5 depicts a block diagram of components of a computing environment, in accordance with an embodiment of the present invention.

DETAILED DESCRIPTION

Embodiments of the present invention provide for wirelessly handling tape cartridges in an automated tape library. Current techniques for handling tape cartridges utilize a flat, or ribbon, cable to provide communication between the tape library controller, the x-y-z driver, and other components in the tape library. The flat cable is susceptible to wear because of the flexing the cable receives while components are in motion within the tape library to move tape cartridges between storage slots and tape drives, where the tape cartridge is either written to (storing data) or read (retrieving data). The wear to the cable may result in errors moving tape cartridges. Consequently, the cable needs to be replaced often.

Embodiments of the present invention recognize that there may be a method, computer program product, and computer system for wirelessly handling tape cartridges in an automated tape library, which may eliminate the need for the flat cable and the time required to replace a worn cable. Embodiments of the present invention may use a rechargeable power source to provide power to the following: components within the tape library, charging stations within the tape library that provide recharging power to the rechargeable power sources, and a wireless network that provides digital communication between the library/charging network controller and the x-y-z driver/gripper in the library that moves the tape cartridges from one location to another within the tape library. Throughout this document, x-y-z will refer to three different axes that the driver/gripper assembly can move within the tape library. In an embodiment, “x” will refer to horizontal (i.e., left/right) travel, “y” will refer to vertical (i.e., up/down) travel, and “z” will refer to depth (i.e., front/back or in/out) travel.

The present invention will now be described in detail with reference to the Figures.

FIG. 1 is a schematic of an automated tape library, generally designated 100, in accordance with one embodiment of the present invention. FIG. 1 provides only an illustration of one implementation and does not imply any limitations with regard to the systems and environments in which different embodiments may be implemented. Many modifications to the depicted embodiment may be made by those skilled in the art without departing from the scope of the invention as recited by the claims.

In an embodiment, automated tape library 100 includes frame 1 102A, frame 2 102B, frame 3 102C, frame 4 102D, x-rail 104, x-slider 106, y-rail 108, y-slider 110, tape slot(s) 112, tape drive slot(s) 114, tape drive(s) 116, gripper 118, x-y-z driver 120, charging network 122, charging station(s) 124, controller 126, access point 128, movement program 130, and power-control 202.

In an embodiment, frame 1 102A is the base frame for automated tape library 100. Frame 1 102A is the primary unit of automated tape library 100. In an embodiment, frame 1 102A includes components found in all frames of automated tape library 100 including x-rail 104 and y-rail 108 (components of the automated tape library 100 rail system), internal lighting (not shown), and tape slot(s) 112. In an embodiment, frame 1 102A also includes components controller 126, tape drive slot(s) 114, and tape drive(s) 116.

In an embodiment, frame 2 102B, frame 3 102C, and frame 4 102D are expansion frames, added to base frame 1 102A, to make a four-frame library that comprises automated tape library 100. In an embodiment, there are a maximum number of expansion frames, based on the technology of the tape drive, which can be added to the base frame to comprise the tape library. In an embodiment, frame 2 102B, frame 3 102C, and frame 4 102D include common components found in all frames of automated tape library 100 including x-rail 104 and y-rail 108 (components of the automated tape library 100 rail system), internal lighting (not shown), and tape slot(s) 112. In an embodiment, frame 2 102B, frame 3 102C, and frame 4 102D also include charging network 122 and charging station(s) 124.

In an embodiment, x-rail 104 is a component in the rail system found in automated tape library 100. X-rail 104 allows x-slider 106 to move horizontally in the base frame and any expansion frames in automated tape library 100.

In an embodiment, x-slider 106 is a carrier that moves horizontally on x-rail 104 within automated tape library 100. In an embodiment, x-slider 106 includes y-rail 108 and x-y-z driver 120. One function that x-slider 106 performs is positioning y-rail 108, and consequently gripper 118, in the correct horizontal position for moving a tape cartridge within automated tape library 100.

In an embodiment, y-rail 108 is a component in the rail system found in automated tape library 100. Y-rail 108 allows y-slider 110 to move vertically in the base frame and any expansion frames in automated tape library 100.

In an embodiment, y-slider 110 is carrier that moves vertically on y-rail 108 within automated tape library 100. In an embodiment, y-slider 110 includes gripper 118. One function that y-slider 110 performs is positioning gripper 118 in the correct vertical position for moving a tape cartridge within automated tape library 100.

In an embodiment, tape slot(s) 112 are storage locations for magnetic tape cartridges, rechargeable power sources, and charging station(s) 124 within automated tape library 100. Both the base frame (frame 1 102A) and the expansion frames (frame 2 102B, frame 3 102C, and frame 4 102D) include any number of tape slot(s) 112. In an embodiment, tape cartridges and rechargeable power sources may be stacked within a tape slot(s) 112 (i.e., one or more tape cartridge/rechargeable power source may be stored behind the front or first tape cartridge/rechargeable power source in the tape slot(s) 112).

In an embodiment, tape drive slot(s) 114 are areas within frame 1 102A (the base frame) of automated tape library 100 used for holding tape drive(s) 116 and charging station(s) 124. In another embodiment, tape drive slot(s) 114 are areas within frame 2 102B, frame 3 102C, and frame 4 102D (the expansion frames) of automated tape library 100 used for holding tape drive(s) 116 and charging station(s) 124. The automated tape library 100 technology determines the number of tape drive slot(s) 114 found in the base frame.

In an embodiment, tape drive(s) 116 are the data storage devices that read and write data on a magnetic tape cartridge. Magnetic tape cartridges are typically used for offline, archival data storage. Magnetic tape cartridges generally have a favorable unit cost and a long archival stability. The number of tape drive(s) 116 found in automated tape library 100 is determined by the number of available tape drive slot(s) 114.

In an embodiment, gripper 118 is an electromechanical device on y-slider 110 for moving tape cartridges and batteries within automated tape library 100. Gripper 118 can move a tape cartridge between tape slot(s) 112 and tape drive(s) 116. Gripper 118 can also move rechargeable power sources between charging station(s) 124, tape slot(s) 112 and power-control 202 (to be discussed subsequently). In an embodiment, gripper 118 includes two grabbers that physically grab and hold the tape cartridges or the rechargeable power sources within automated tape library 100. The two grabbers allow gripper 118 to grab the rechargeable power source powering x-y-z driver 120 that is running low on power with a first grabber, move to charging station(s) 124, grab the rechargeable power source from charging station(s) 124 with a second grabber, and then swap the two rechargeable power sources. While the rechargeable power source swap is occurring, power is being supplied to the system by the second rechargeable power source in power-control 202, which has a higher charge than the rechargeable power source in the first grabber that is being replaced.

In an embodiment, x-y-z driver 120 is the device that facilitates all motion requests for gripper 118 within automated tape library 100. X-y-z driver 120 receives input wirelessly from controller 126 via access point 128.

In an embodiment, charging network 122 is an electrical circuit within automated tape library 100 that provides power to charging station(s) 124 for charging the rechargeable power sources when the rechargeable power sources are low on power. In an embodiment, charging network 122 may be a one hundred twenty volt circuit. In another embodiment, charging network 122 may be a two hundred forty volt circuit.

In an embodiment, charging station(s) 124 is a device, powered by charging network 122, which recharges the rechargeable power sources used by automated tape library 100. In an embodiment, automated tape library 100 includes two charging station(s) 124. In another embodiment, automated tape library 100 includes more than two charging station(s) 124. In an embodiment, charging station(s) 124 includes one slot for charging a rechargeable power source used by automated tape library 100. In another embodiment, charging station(s) 124 includes more than one slot for charging a rechargeable power source used by automated tape library 100. In an embodiment, when a rechargeable power source is fully charged by a charging station(s) 124, the rechargeable power source is removed from the charging station(s) 124 and moved to an empty tape slot(s) 112.

In an embodiment, controller 126 is a logic card that provides control function to automated tape library 100 and charging network 122. In an embodiment, controller 126 includes access point 128 and movement program 130. Functions managed by controller 126 include centralized management of automated tape library 100, inserting and ejecting operations for tape cartridges, automatic cleaning of tape drive(s) 116, status determination for automated tape library 100, and power requirements for charging network 122 (i.e., provide power to charging station(s) 124 when a non-fully charged rechargeable power source is present and remove power to charging station(s) 124 when a fully charged rechargeable power source is present or when charging station(s) 124 is empty).

In an embodiment, access point 128 is a component in a wireless network capable of transmitting and receiving data. In an embodiment, access point 128 may provide a connection to a hard-wired network. In an embodiment, access point 128 sends data to power-control 202 which instructs x-y-z driver 120 where to move (i.e., tape slot(s) 112, tape drive(s) 116, or charging station(s) 124). For example, the instruction may be to retrieve a tape cartridge from a specific tape slot(s) 112 in frame 4 102D and to put the tape cartridge in the first tape drive(s) 116 in frame 1 102A so that data can either be written to or retrieved from the tape cartridge. In another embodiment, access point 128 receives data from power-control 202. In yet another embodiment, access point 128 both sends data to and receives data from power-control 202. In an embodiment, the data transmission is encrypted. In another embodiment, the data transmission is not encrypted.

In an embodiment, access point 128 includes movement program 130. According to embodiments of the present invention, movement program 130 functions to move tape cartridges and rechargeable power sources within automated tape library 100. In an embodiment, movement program 130 receives input of an instruction to move a tape cartridge, transmits the instruction wirelessly using techniques known in the art, directs the gripper mechanism in automated tape library 100 to the proper location to grab the tape cartridge, and directs the gripper to another location in automated tape library 100 to place the tape cartridge.

In an embodiment, movement program 130 determines when a rechargeable power source is low on power and requires swapping for a charged rechargeable power source stored in charging station(s) 124. In an embodiment, movement program 130 manages the rechargeable power sources within automated tape library 100 (e.g., the location of each rechargeable power source and the charge level of each rechargeable power source). In an embodiment, when a rechargeable power source swap is required, the rechargeable power source with the highest charge in tape slot(s) 112 or charging station(s) 124 is selected. In another embodiment, when a rechargeable power source swap is required, tape slot(s) 112 or charging station(s) 124 closest to the present location of x-y-z driver 120 is selected. In yet another embodiment, the current workload queue is used to determine which tape slot(s) 112 or charging station(s) 124 is used for the rechargeable power source swap (e.g., if only one tape cartridge movement is in the queue, any tape slot(s) 112 or charging station(s) 124 may be used but if many movements are in the queue, the tape slot(s) 112 or charging station(s) 124 with the rechargeable power source with the highest charge is used for the swap).

FIG. 2 is a schematic of power-control 202, generally designated as 200. In an embodiment, power-control 202 includes tray 204, transceiver 206, rpd slot 1 208, rpd slot 2 210 and rpd cage 212.

In an embodiment, tray 204 is a carrier added to x-y-z driver 120 that functions to hold, in a mechanical manner, rpd cage 212. In an embodiment, tray 204 may also serve as a power pass-through, allowing power to pass from rpd cage 212 to x-y-z driver 120.

In an embodiment, transceiver 206 is a combination transmitter/receiver of digital signals in a single package. In an embodiment, transceiver 206 receives data from access point 128. In another embodiment, transceiver 206 sends data to access point 128 (as shown and described in FIG. 1). In yet another embodiment, transceiver 206 both receives data from and sends data to access point 128. In yet another embodiment, transceiver 206 may send and receive data from one or more other components of FIG. 1. In yet another embodiment, transceiver 206 may send and receive data from other access points and/or transceivers not shown.

In an embodiment, rpd cage 212 is a rechargeable power device that provides power to x-slider 106, y-slider 110, gripper 118, x-y-z driver 120, and transceiver 206. In an embodiment, rpd cage 212 includes two slots—rpd slot 1 208 and rpd slot 2 210. In another embodiment, rpd cage 212 includes three slots—rpd slot 1 208, rpd slot 2 210 and rpd slot 3 211. In yet another embodiment, rpd cage 212 may include more than three slots. In an embodiment, each slot in rpd cage 212 can hold one rechargeable power source used to provide power. In an embodiment, a rechargeable power source held in rpd slot 1 208 and rpd slot 2 210 meets the size requirement of fitting into one of the tape slot(s) 112 for storage once the rechargeable power source is fully charged. In an embodiment, automated tape library 100 may include any number of rechargeable power sources. The number of rechargeable power sources required is based on the number of base and expansion frames included in automated tape library 100 as well as the anticipated workload for automated tape library 100. According to embodiments of the present invention, each rechargeable power source may be a battery using any battery technology known in the art (e.g., lithium ion, nickel-cadmium, alkaline, etc.). In another embodiment, each rechargeable power source may be any other rechargeable power source known in the art (e.g., a supercapacitor, etc.) that meets the size requirements of the two or more slots in rpd cage 212 and meets the power requirements of automated tape library 100. In addition, each of the two or more slots in rpd cage 212 includes the necessary circuitry required to deliver the previously discussed power. In an embodiment, each rechargeable power source in rpd cage 212 includes at least one bar code label to distinguish each rechargeable power source from a tape cartridge and to differentiate the two or more rechargeable power sources from one another.

FIG. 3 is a flowchart of workflow 300 depicting a program for replacing a rechargeable power source based on the charge level of the rechargeable power source, in accordance with an embodiment of the present invention. In one embodiment, the method of workflow 300 is performed automatically by movement program 130. In an alternative embodiment, the method of workflow 300 may be initiated at the request of a user.

In an embodiment, movement program 130 determines the charge (step 302). In other words, movement program 130 determines the charge of each of the two or more rechargeable power sources found in rpd cage 212. In an embodiment, the charge is a measure of remaining power stored in the rechargeable power source. In an embodiment, any technique known in the art, such as a Coulomb counter, can be used to determine the rechargeable power source charge. For example, rechargeable power source “A” in rpd slot 1 208 has a charge of eight percent and rechargeable power source “B” in rpd slot 2 210 has a charge of ninety-five percent.

In an embodiment, movement program 130 determines whether the charge in any of the two or more rechargeable power sources found in rpd cage 212 has reached a threshold (decision step 304). In other words, movement program 130 determines whether a rechargeable power source is running low on power (i.e., reached a threshold level of charge) and needs to be replaced. In an embodiment, the threshold may be defined by a user. In another embodiment, the threshold may be calculated by movement program 130 based on the number of tape retrievals during the life of a rechargeable power source. In the embodiment, the life of a rechargeable power source is determined by an average duration of a plurality of rechargeable power sources. In an embodiment (decision step 304, NO branch), a rechargeable power source has not reached a threshold level of charge; therefore, movement program 130 continues to determine the charge of each of the two or more rechargeable power sources. In the embodiment (decision step 304, YES branch), a rechargeable power source has reached a threshold level of charge; therefore, movement program 130 proceeds to step 306.

In an embodiment, movement program 130 switches rechargeable power source (step 306). In other words, responsive to determining that a rechargeable power source has reached a threshold level of charge (decision step 304, YES branch), movement program 130 switches the source of power. In an embodiment, movement program 130 switches the rechargeable power source from the rechargeable power source located in rpd slot 1 208 to the rechargeable power source located in rpd slot 2 210. For example, given an example threshold of ten percent, rechargeable power source “A”, with a charge of eight percent, is taken out of service (i.e., is no longer powering a portion of the automated tape library) and rechargeable power source “B”, with a charge of ninety-five percent, is placed into service so that the necessary power requirements are provided by rechargeable power source “B”.

In an embodiment, movement program 130 replaces the rechargeable power source (step 308). In other words, following the switch in rechargeable power source (step 306), movement program 130 replaces the low-on-power rechargeable power source with a charged rechargeable power source. In an embodiment, the charged rechargeable power source selected to replace the low-on-power rechargeable power source is located in tape slot(s) 112 or charging station(s) 124 closest to the present location of power-control 202. In another embodiment, the charged rechargeable power source selected to replace the low-on-power rechargeable power source is the rechargeable power source found in tape slot(s) 112 or charging station(s) 124 with the highest charge level. In yet another embodiment, the charged rechargeable power source selected to replace the low-on-power rechargeable power source is chosen based on the remaining workload (i.e., the remaining number of needed movements) in the instruction queue. For example, rechargeable power source “A”, with a charge of eight percent, is replaced with a rechargeable power source from one of the charging stations with a charge of ninety-nine percent.

FIG. 4 is a flowchart of workflow 400 depicting a program for moving a tape cartridge based on an instruction, in accordance with an embodiment of the present invention. In one embodiment, the method of workflow 400 is performed automatically by movement program 130 based on one or more instructions received from another computing device. In an alternative embodiment, the method of workflow 300 may be initiated by a user inputting instructions directly to automated tape library 100.

In an embodiment, movement program 130 receives a request (step 402). In other words, movement program 130 receives a request, from a user, to move a tape cartridge from tape slot(s) 112 to a tape drive(s) 116 so that data may be retrieved from the tape cartridge. In an embodiment, a user inputs a request to retrieve data stored to a tape cartridge using an integrated management console (not shown) on automated tape library 100. In the embodiment, the request is received by controller 126, which identifies and locates the specific tape cartridge where the requested data is stored. For example, “Joe” inputs a request to retrieve company tax records, stored to tape, from the last twenty-five years. The tape library determines that the requested data is stored to a tape cartridge identified as “TAXREC-HISTORY” via a barcode and that the tape cartridge is stored in slot “Row 3/Column 3” in the first expansion frame in the tape library.

In an embodiment, movement program 130 wirelessly transmits the instruction (step 404). In other words, based on the received request (step 402), movement program 130 wirelessly transmits the instruction required to carry out the request. In an embodiment, controller 126 inputs the determined tape cartridge location to access point 128, which transmits the instruction to retrieve the tape cartridge to transceiver 206. In an embodiment, the transmission is encrypted to prevent anyone else from determining the transmission. In the embodiment, the encryption technique is any encryption technique known in the art. In another embodiment, the transmission is not encrypted. For example, the instruction to retrieve the “TAXREC-HISTORY” cartridge stored in slot “Row 3/Column 3” in the first expansion frame of the tape library is transmitted with encryption from the tape library controller to the power-control module.

In an embodiment, movement program 130 receives the instruction (step 406). In other words, movement program 130 receives the transmitted instruction (step 404) to retrieve a tape cartridge. In an embodiment, the instruction is received by transceiver 206, which is a component of power-control 202. In turn, power-control 202 passes the instruction to x-y-z driver 120 so that the cartridge can be moved from tape slot(s) 112 to tape drive(s) 116 via gripper 118. For example, the instruction to retrieve the “TAXREC-HISTORY” cartridge stored in slot “Row 3/Column 3” in the first expansion frame of the tape library is received by the power-control module and is then passed to the x-y-z driver.

In an embodiment, movement program 130 executes the instruction (step 408). In other words, the received instruction (step 406) to retrieve a tape cartridge is executed by movement program 130. In an embodiment, x-y-z driver 120 positions gripper 118 by moving x-slider 106 horizontally along x-rail 104 and y-slider 110 vertically along y-rail 108 until gripper 118 is in the proper position to grab the requested tape cartridge. In the embodiment, gripper 118 grabs the requested tape cartridge and holds it while x-y-z driver 120 moves the gripper into position at tape drive(s) 116 so that the tape cartridge can be inserted into the tape drive(s) 116 and the data stored to the tape cartridge can be read. For example, the gripper is moved to slot “Row 3/Column 3” in the first expansion frame in the tape library so that the gripper can grab tape “TAXREC-HISTORY” stored in that slot. The gripper is then moved to an open tape drive where the tape cartridge is inserted into the open tape drive and the tax records are read and made available to “Joe”.

FIG. 5 depicts computer system 500, which is an example of a system that includes movement program 130. Computer system 500 includes processors 501, cache 503, memory 502, persistent storage 505, communications unit 507, input/output (I/O) interface(s) 506 and communications fabric 504. Communications fabric 504 provides communications between cache 503, memory 502, persistent storage 505, communications unit 507, and input/output (I/O) interface(s) 506. Communications fabric 504 can be implemented with any architecture designed for passing data and/or control information between processors (such as microprocessors, communications and network processors, etc.), system memory, peripheral devices, and any other hardware components within a system. For example, communications fabric 504 can be implemented with one or more buses or a crossbar switch.

Memory 502 and persistent storage 505 are computer readable storage media. In this embodiment, memory 502 includes random access memory (RAM). In general, memory 502 can include any suitable volatile or non-volatile computer readable storage media. Cache 503 is a fast memory that enhances the performance of processors 501 by holding recently accessed data, and data near recently accessed data, from memory 502.

Program instructions and data used to practice embodiments of the present invention may be stored in persistent storage 505 and in memory 502 for execution by one or more of the respective processors 501 via cache 503. In an embodiment, persistent storage 505 includes a magnetic hard disk drive. Alternatively, or in addition to a magnetic hard disk drive, persistent storage 505 can include a solid state hard drive, a semiconductor storage device, read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, or any other computer readable storage media that is capable of storing program instructions or digital information.

The media used by persistent storage 505 may also be removable. For example, a removable hard drive may be used for persistent storage 505. Other examples include optical and magnetic disks, thumb drives, and smart cards that are inserted into a drive for transfer onto another computer readable storage medium that is also part of persistent storage 505.

Communications unit 507, in these examples, provides for communications with other data processing systems or devices. In these examples, communications unit 507 includes one or more network interface cards. Communications unit 507 may provide communications through the use of either or both physical and wireless communications links. Program instructions and data used to practice embodiments of the present invention may be downloaded to persistent storage 505 through communications unit 507.

I/O interface(s) 506 allows for input and output of data with other devices that may be connected to each computer system. For example, I/O interface 506 may provide a connection to external devices 508 such as a keyboard, keypad, a touch screen, and/or some other suitable input device. External devices 508 can also include portable computer readable storage media such as, for example, thumb drives, portable optical or magnetic disks, and memory cards. Software and data used to practice embodiments of the present invention can be stored on such portable computer readable storage media and can be loaded onto persistent storage 505 via I/O interface(s) 506. I/O interface(s) 506 also connect to display 509.

Display 509 provides a mechanism to display data to a user and may be, for example, a computer monitor.

The present invention may be a system, a method, and/or a computer program product at any possible technical detail level of integration. The computer program product may include a computer readable storage medium (or media) having computer readable program instructions thereon for causing a processor to carry out aspects of the present invention.

The computer readable storage medium can be a tangible device that can retain and store instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. A non-exhaustive list of more specific examples of the computer readable storage medium includes the following: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon, and any suitable combination of the foregoing. A computer readable storage medium, as used herein, is not to be construed as being transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission media (e.g., light pulses passing through a fiber-optic cable), or electrical signals transmitted through a wire.

Computer readable program instructions described herein can be downloaded to respective computing/processing devices from a computer readable storage medium or to an external computer or external storage device via a network, for example, the Internet, a local area network, a wide area network and/or a wireless network. The network may comprise copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. A network adapter card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium within the respective computing/processing device.

Computer readable program instructions for carrying out operations of the present invention may be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state-setting data, configuration data for integrated circuitry, or either source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C++, or the like, and procedural programming languages, such as the “C” programming language or similar programming languages. The computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, programmable logic circuitry, field-programmable gate arrays (FPGA), or programmable logic arrays (PLA) may execute the computer readable program instructions by utilizing state information of the computer readable program instructions to personalize the electronic circuitry, in order to perform aspects of the present invention.

Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer readable program instructions.

These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, a programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable storage medium having instructions stored therein comprises an article of manufacture including instructions which implement aspects of the function/act specified in the flowchart and/or block diagram block or blocks.

The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process, such that the instructions which execute on the computer, other programmable apparatus, or other device implement the functions/acts specified in the flowchart and/or block diagram block or blocks.

The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the blocks may occur out of the order noted in the Figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts or carry out combinations of special purpose hardware and computer instructions.

The programs described herein are identified based upon the application for which they are implemented in a specific embodiment of the invention. However, it should be appreciated that any particular program nomenclature herein is used merely for convenience, and thus the invention should not be limited to use solely in any specific application identified and/or implied by such nomenclature.

The descriptions of the various embodiments of the present invention have been presented for purposes of illustration, but are not intended to be exhaustive or limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the invention. The terminology used herein was chosen to best explain the principles of the embodiment, the practical application or technical improvement over technologies found in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein. 

What is claimed is:
 1. A method for replacing a rechargeable power source in an automated tape library, the method comprising: transmitting, by an access point of a controller, movement data wirelessly to a power-control of the automated tape library that is separate from the controller, the power-control being connected to an x-y-z driver of a rail system, wherein the x-y-z driver is configured to position a gripper by moving an x-slider horizontally along an x-rail and a y-slider vertically along a y-rail and the power-control instructs movement of the x-y-z driver, and the power-control comprises a rechargeable power device cage comprising a first slot holding a first rechargeable power source, a second slot holding a second rechargeable power source, a tray holding the rechargeable power device cage, said tray serving as a power pass-through allowing power to pass from the rechargeable power device cage to the x-y-z driver, and a transceiver configured to receive the movement data from the access point; determining, by the controller wirelessly communicating with the power-control, a charge level of the first rechargeable power source and the second rechargeable power source, wherein the charge level for the first rechargeable power source, and the second rechargeable power source is a numeric value within a range of charge from zero percent charge to one hundred percent charge, exclusive; determining whether the charge level of the first rechargeable power source is below a threshold level of charge needed to complete a remaining number of movements in an instruction queue; and responsive to determining that the charge level for the first rechargeable power source is below the threshold level of charge to complete the remaining number of movements in the instruction queue, switching, by one or more computer processors of the controller, a source of power to the x-y-z driver from the first rechargeable power source to the second rechargeable power source within the rechargeable power device cage.
 2. The method of claim 1, further comprising: replacing, by the one or more computer processors, the first rechargeable power source with a third rechargeable power source in the automated tape library.
 3. The method of claim 2, wherein a location of the third rechargeable power source in the automated tape library is a tape slot in a plurality of tape slots in the automated tape library.
 4. The method of claim 3, further comprising: receiving, by the one or more computer processors, an indication to remove the third rechargeable power source from one charging station of a plurality of charging stations; and sending, by the one or more computer processors, a request to place the third rechargeable power source in one tape slot of the plurality of tape slots for storage.
 5. The method of claim 2, wherein the step of replacing, by the one or more computer processors, the first rechargeable power source with the third rechargeable power source, comprises: receiving, by the one or more computer processors, a first instruction to move the first rechargeable power source from the first slot of the rechargeable power device cage to an empty charging station or to an empty tape slot; and receiving, by the one or more computer processors, a second instruction to move the third rechargeable power source, from a charging station with the third rechargeable power source or a tape slot with the third rechargeable power source, to the first slot of the rechargeable power device cage.
 6. A computer program product for replacing a rechargeable power source in an automated tape library, the computer program product comprising: one or more non-transitory computer readable storage media; and program instructions stored on the one or more non-transitory computer readable storage media, the program instructions comprising: program instructions to transmit, by an access point of a controller, movement data wirelessly to a power-control of the automated tape library that is separate from the controller, the power-control being connected to an x-y-z driver of a rail system, wherein the x-y-z driver is configured to position a gripper by moving an x-slider horizontally along an x-rail and a y-slider vertically along a y-rail and the power-control instructs movement of the x-y-z driver, wherein the power-control comprises a rechargeable power device cage comprising a first slot holding a first rechargeable power source, a second slot holding a second rechargeable power source, a tray holding the rechargeable power device cage, said tray serving as a power pass-through allowing power to pass from the rechargeable power device cage to the x-y-z driver, and a transceiver configured to receive the movement data from the access point; program instructions to determine by the controller wirelessly communicating with the power-control, a charge level of the first rechargeable power source and the second rechargeable power source, wherein the charge level for the first rechargeable power source, and the second rechargeable power source is a numeric value within a range of charge from zero percent charge to one hundred percent charge, exclusive; program instructions to determine whether the charge level of the first rechargeable power source is below a threshold level of charge needed to complete a remaining number of movements in an instruction queue; and responsive to determining that the charge level for the first rechargeable power source is below the threshold level of charge to complete the remaining number of movements in the instruction queue, program instructions to switch, via the controller, a source of power to the x-y-z driver from the first rechargeable power source to the second rechargeable power source within the rechargeable power device cage.
 7. The computer program product of claim 6, further comprising program instructions stored on the one or more non-transitory computer readable storage media, to: replace the first rechargeable power source with a third rechargeable power source in the automated tape library.
 8. The computer program product of claim 7, wherein a location of the third rechargeable power source in the automated tape library is a tape slot in a plurality of tape slots in the automated tape library.
 9. The computer program product of claim 8, further comprising program instructions stored on the one or more non-transitory computer readable storage media, to: receive an indication to remove the third rechargeable power source from one charging station of a plurality of charging stations; and send a request to place the third rechargeable power source in one tape slot of the plurality of tape slots for storage.
 10. The computer program product of claim 7, wherein the program instruction to replace the first rechargeable power source with the third rechargeable power source in the automated tape library, comprises: program instructions to receive a first instruction to move the first rechargeable power source from the first slot of the rechargeable power device cage to an empty charging station or to an empty tape slot; and program instructions to receive a second instruction to move the third rechargeable power source, from a charging station with the third rechargeable power source or a tape slot with the third rechargeable power source, to the first slot of the rechargeable power device cage.
 11. A computer system for replacing a rechargeable power source in an automated tape library, the computer system comprising: one or more computer processors; a controller comprising an access point placed in communication with the one or more computer processors; a power-control placed in wireless communication with the access point of the controller, the power control is separated from the controller, wherein the power-control comprises a rechargeable power device cage comprising a first slot holding a first rechargeable power source, a second slot holding a second rechargeable power source, a tray holding the rechargeable power device cage, said tray serving as a power pass-through allowing power to pass from the rechargeable power device cage to an x-y-z driver, and a transceiver configured to receive movement data from the access point; an x-y-z driver of a rail system connected to the power-control, wherein the x-y-z driver is configured to position a gripper by moving an x-slider horizontally along an x-rail and a y-slider vertically along a y-rail and the power-control instructs movement of the x-y-z driver; one or more non-transitory computer readable storage media; and program instructions stored on the one or more non-transitory computer readable storage media for execution by at least one of the one or more computer processors, the program instructions comprising: program instructions to transmit, by the access point of the controller, the movement data wirelessly to the power-control; program instructions to determine a charge level, by the controller, a charge level of the first rechargeable power source and the second rechargeable power source wherein the charge level for the first rechargeable power source and the second rechargeable power source is a numeric value within a range of charge from zero percent charge to one hundred percent charge, exclusive; program instructions to determine whether the charge level of the first rechargeable power source is below a threshold level of charge needed to complete a remaining number of movements in an instruction queue; and responsive to determining that the charge level for the first rechargeable power source is below the threshold level of charge to complete the remaining number of movements in the instruction queue, program instructions to switch a source of power to the x-y-z driver from the first rechargeable power source to the second rechargeable power source within the rechargeable power device.
 12. The computer system of claim 11, further comprising program instructions stored on the one or more computer readable storage media for execution by at least one of the one or more computer processors, to: replace the first rechargeable power source with a third rechargeable power source in the automated tape library.
 13. The computer system of claim 12, wherein a location of the third rechargeable power source in the automated tape library is a tape slot in a plurality of tape slots in the automated tape library.
 14. The computer system of claim 13, further comprising program instructions stored on the one or more non-transitory computer readable storage media for execution by at least one of the one or more computer processors, to: receive an indication to remove the third rechargeable power source from one charging station of a plurality of charging stations; and send a request to place the third rechargeable power source in one tape slot of the plurality of tape slots for storage. 